package cn.edu.lsnu.mbti.util;

import java.util.UUID;

public class UUIDUtils {

    /**
     * 获取uuid
     * @return
     */
    public static String getUUID(){
        String s = UUID.randomUUID().toString();
        String[] split = s.split("-");
        String uuid = "";
        for (String sp : split) {
            uuid += sp;
        }
        return uuid;
    }

    public static void main(String[] args) {
        for (int i = 0; i < 1; i++) {
            System.out.println(getUUID());
        }

    }
}
